package com.qf.stu.application.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Feign的远程调用接口
 */
@FeignClient("cls-server")
public interface ClsRemote {
    @RequestMapping("/cls/get")
    String get(@RequestParam("name") String name);

    @RequestMapping("/cls/insert")
    String insert();
}
